package com.hskn.hss.module.elementtotal.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class DTUDataMap implements Serializable {
    @ApiModelProperty(value = "名称", name = "name")
    private String name;
    @ApiModelProperty(value = "中文描述", name = "notes")
    private String notes;
    @ApiModelProperty(value = "值", name = "value")
    private String value;
    /**
     * 404无设备，200正常
     */
    @ApiModelProperty(value = "404无设备，200正常", name = "code")
    private Integer code;
    @ApiModelProperty(value = "信息", name = "message")
    private String message;
    @ApiModelProperty(value = "是否超标1：不超标，2：超标", name = "flag")
    private Short flag;

    public DTUDataMap() {
    }

    public DTUDataMap(String name,String notes, String value, Integer code, String message,Short flag) {
        this.name = name;
        this.notes = notes;
        this.value = value;
        this.code = code;
        this.message = message;
        this.flag = flag;
    }
}
